
export const homeroutes = [
  {
    path: '/home/HomePage',
    name: '主页',
    meta: {
      NeedLogin: true,
      name: '主页',
      icon: 'HomeFilled'
    },
    component: () => import('@/views/Children/HomePage/index.vue')
  },
  {
    path: '/home/LargeScreenManagement',
    name: 'LargeScreenManagement',
    meta: {
      NeedLogin: true,
      name: '大屏管理',
      icon: 'Coordinate'
    },
    component: () => import('@/views/Children/LargeScreenManagement/index.vue'),
    children: [
      {
        path: '/home/LargeScreenManagement/EmploymentSituation',
        name: 'EmploymentSituation',
        meta: {
          NeedLogin: true,
          name: '就业态势',
        },
        component: () => import('@/views/Children/LargeScreenManagement/Children/EmploymentSituation/index.vue')
      },
      {
        path: '/home/LargeScreenManagement/SmartDetection',
        name: 'SmartDetection',
        meta: {
          NeedLogin: true,
          name: '智能检测',
        },
        component: () => import('@/views/Children/LargeScreenManagement/Children/SmartDetection/index.vue')
      },
      {
        path: '/home/LargeScreenManagement/SecurityManagement',
        name: 'SecurityManagement',
        meta: {
          NeedLogin: true,
          name: '安防管理',
        },
        component: () => import('@/views/Children/LargeScreenManagement/Children/SecurityManagement/index.vue')
      },
      {
        path: '/home/LargeScreenManagement/EquipmentOperation',
        name: 'EquipmentOperation',
        meta: {
          NeedLogin: true,
          name: '设备运维',
        },
        component: () => import('@/views/Children/LargeScreenManagement/Children/EquipmentOperation/index.vue')
      },
    ]
  },
  {
    path: '/home/KnowledgePoint',
    name: 'KnowledgePoint',
    meta: {
      NeedLogin: true,
      name: '知识点',
      icon: 'Coordinate'
    },
    component: () => import('@/views/Children/KnowledgePoint/index.vue'),
    children: [
      {
        path: '/home/KnowledgePoint/KeepAlive',
        name: 'KeepAlive',
        meta: {
          NeedLogin: true,
          name: 'KeepAlive',
        },
        component: () => import('@/views/Children/KnowledgePoint/Children/KeepAlive/index.vue'),
      }
    ]
  },
  {
    path: '/home/PageManagement',
    name: 'PageManagement',
    meta: {
      NeedLogin: true,
      name: '页面管理',
      icon: 'Checked'
    },
    component: () => import('@/views/Children/PageManagement/index.vue'),
    children: [
      {
        path: '/home/PageManagement/FormPage',
        name: 'FormPage',
        meta: {
          NeedLogin: true,
          name: '表单页',
        },
        component: () => import('@/views/Children/PageManagement/Children/FormPage/index.vue'),
        children: [
          {
            path: '/home/PageManagement/FormPage/BaseForm',
            name: 'BaseForm',
            meta: {
              NeedLogin: true,
              name: '基础表单',
            },
            component: () => import('@/views/Children/PageManagement/Children/FormPage/Children/BaseForm/index.vue'),
          },
          {
            path: '/home/PageManagement/FormPage/StepSheet',
            name: 'StepSheet',
            meta: {
              NeedLogin: true,
              name: '步骤表单',
            },
            component: () => import('@/views/Children/PageManagement/Children/FormPage/Children/StepSheet/index.vue'),
          },
          {
            path: '/home/PageManagement/FormPage/AdvancedForm',
            name: 'AdvancedForm',
            meta: {
              NeedLogin: true,
              name: '高级表单',
            },
            component: () => import('@/views/Children/PageManagement/Children/FormPage/Children/AdvancedForm/index.vue'),
          }
        ]
      },
      {
        path: '/home/PageManagement/FormManagement',
        name: 'FormManagement',
        meta: {
          NeedLogin: true,
          name: '表格管理页',
        },
        component: () => import('@/views/Children/PageManagement/Children/FormManagement/index.vue'),
        children: [
          {
            path: '/home/PageManagement/FormManagement/Tabulation',
            name: 'Tabulation',
            meta: {
              NeedLogin: true,
              name: '基础表格',
            },
            component: () => import('@/views/Children/PageManagement/Children/FormManagement/Children/Tabulation/index.vue'),
          }, {
            path: '/home/PageManagement/FormManagement/Embeddedtable',
            name: 'Embeddedtable',
            meta: {
              NeedLogin: true,
              name: '内嵌表格',
            },
            component: () => import('@/views/Children/PageManagement/Children/FormManagement/Children/Embeddedtable/index.vue'),
          }, {
            path: '/home/PageManagement/FormManagement/SlidingForm',
            name: 'SlidingForm',
            meta: {
              NeedLogin: true,
              name: '滑动表格',
            },
            component: () => import('@/views/Children/PageManagement/Children/FormManagement/Children/SlidingForm/index.vue'),
          }, {
            path: '/home/PageManagement/FormManagement/EditableTable',
            name: 'EditableTable',
            meta: {
              NeedLogin: true,
              name: '可编辑Table',
            },
            component: () => import('@/views/Children/PageManagement/Children/FormManagement/Children/EditableTable/index.vue'),
          }, {
            path: '/home/PageManagement/FormManagement/ImportExcel',
            name: 'ImportExcel',
            meta: {
              NeedLogin: true,
              name: '导入Excel',
            },
            component: () => import('@/views/Children/PageManagement/Children/FormManagement/Children/ImportExcel/index.vue'),
          }
        ]
      },
      {
        path: '/home/PageManagement/ListPage',
        name: 'ListPage',
        meta: {
          NeedLogin: true,
          name: '列表页',
        },
        component: () => import('@/views/Children/PageManagement/Children/ListPage/index.vue'),
        children: [
          {
            path: '/home/PageManagement/BaseList',
            name: 'BaseList',
            meta: {
              NeedLogin: true,
              name: '基础列表',
            },
            component: () => import('@/views/Children/PageManagement/Children/ListPage/Children/BaseList/index.vue'),
          },
          {
            path: '/home/PageManagement/CardList',
            name: 'CardList',
            meta: {
              NeedLogin: true,
              name: '卡片列表',
            },
            component: () => import('@/views/Children/PageManagement/Children/ListPage/Children/CardList/index.vue'),
          }, {
            path: '/home/PageManagement/SearchList',
            name: 'SearchList',
            meta: {
              NeedLogin: true,
              name: '搜索列表',
            },
            component: () => import('@/views/Children/PageManagement/Children/ListPage/Children/SearchList/index.vue'),
          }
        ]
      },
      {
        path: '/home/PageManagement/PageException',
        name: 'PageException',
        meta: {
          NeedLogin: true,
          name: '异常页面',
        },
        component: () => import('@/views/Children/PageManagement/Children/PageException/index.vue'),
        children: [
          {
            path: '/home/PageManagement/NotFound',
            name: 'NotFound',
            meta: {
              NeedLogin: true,
              name: '404',
            },
            component: () => import('@/views/Children/PageManagement/Children/PageException/Children/NotFound/index.vue'),
          },
          {
            path: '/home/PageManagement/Five',
            name: 'Five',
            meta: {
              NeedLogin: true,
              name: '500',
            },
            component: () => import('@/views/Children/PageManagement/Children/PageException/Children/Five/index.vue'),
          }
        ]
      },
    ]
  },
  {
    path: '/home/GraphicIcon',
    name: 'GraphicIcon',
    meta: {
      NeedLogin: true,
      name: '图形图表',
      icon: 'Pointer'
    },
    component: () => import('@/views/Children/GraphicIcon/index.vue'),
    children: [
      {
        path: '/home/GraphicIcon/Map',
        name: 'Map',
        meta: {
          NeedLogin: true,
          name: '地图',
        },
        component: () => import('@/views/Children/GraphicIcon/Children/Map/index.vue'),
      },
      {
        path: '/home/GraphicIcon/RadarMap',
        name: 'RadarMap',
        meta: {
          NeedLogin: true,
          name: '雷达图',
        },
        component: () => import('@/views/Children/GraphicIcon/Children/RadarMap/index.vue'),
      },
      {
        path: '/home/GraphicIcon/BarChart',
        name: 'BarChart',
        meta: {
          NeedLogin: true,
          name: '柱状图',
        },
        component: () => import('@/views/Children/GraphicIcon/Children/BarChart/index.vue'),
      },
      {
        path: '/home/GraphicIcon/LineChart',
        name: 'LineChart',
        meta: {
          NeedLogin: true,
          name: '折线图',
        },
        component: () => import('@/views/Children/GraphicIcon/Children/LineChart/index.vue'),
      },
    ]
  },
  {
    path: '/home/Feature',
    name: 'Feature',
    meta: {
      NeedLogin: true,
      name: '功能',
      icon: 'ChromeFilled'
    },
    component: () => import('@/views/Children/Feature/index.vue'),
    children: [
      {
        path: '/home/Feature/Watermark',
        name: 'Watermark',
        meta: {
          NeedLogin: true,
          name: '水印',
        },
        component: () => import('@/views/Children/Feature/Children/Watermark/index.vue'),
      },
      {
        path: '/home/Feature/DigitalAnimation',
        name: 'DigitalAnimation',
        meta: {
          NeedLogin: true,
          name: '数字动画',
        },
        component: () => import('@/views/Children/Feature/Children/DigitalAnimation/index.vue'),
      },
      {
        path: '/home/Feature/PictureUpload',
        name: 'PictureUpload',
        meta: {
          NeedLogin: true,
          name: '图片上传',
        },
        component: () => import('@/views/Children/Feature/Children/PictureUpload/index.vue'),
      },
      {
        path: '/home/Feature/FileUpload',
        name: 'FileUpload',
        meta: {
          NeedLogin: true,
          name: '文件上传',
        },
        component: () => import('@/views/Children/Feature/Children/FileUpload/index.vue'),
      },
      {
        path: '/home/Feature/FilePreview',
        name: 'FilePreview',
        meta: {
          NeedLogin: true,
          name: '文件预览',
        },
        component: () => import('@/views/Children/Feature/Children/FilePreview/index.vue'),
      },
      {
        path: '/home/Feature/Editor',
        name: 'Editor',
        meta: {
          NeedLogin: true,
          name: '编辑器',
        },
        component: () => import('@/views/Children/Feature/Children/Editor/index.vue'),
        children: [
          {
            path: '/home/Feature/Editor/RichTextEditor',
            name: 'RichTextEditor',
            meta: {
              NeedLogin: true,
              name: '富文本编辑器',
            },
            component: () => import('@/views/Children/Feature/Children/Editor/Children/RichTextEditor/index.vue'),
          },
          {
            path: '/home/Feature/Editor/MarkDown',
            name: 'MarkDown',
            meta: {
              NeedLogin: true,
              name: 'markdown',
            },
            component: () => import('@/views/Children/Feature/Children/Editor/Children/MarkDown/index.vue'),
          }
        ]
      },
      {
        path: '/home/Feature/CryptographicStrength',
        name: 'CryptographicStrength',
        meta: {
          NeedLogin: true,
          name: '密码强度',
        },
        component: () => import('@/views/Children/Feature/Children/CryptographicStrength/index.vue'),
      },
      {
        path: '/home/Feature/VerificationComponent',
        name: 'VerificationComponent',
        meta: {
          NeedLogin: true,
          name: '验证组件',
        },
        component: () => import('@/views/Children/Feature/Children/VerificationComponent/index.vue'),
      },
      {
        path: '/home/Feature/IntroductionPage',
        name: 'IntroductionPage',
        meta: {
          NeedLogin: true,
          name: '引导页',
        },
        component: () => import('@/views/Children/Feature/Children/IntroductionPage/index.vue'),
      },
      {
        path: '/home/Feature/EmbeddedPage',
        name: 'EmbeddedPage',
        meta: {
          NeedLogin: true,
          name: '内嵌页',
        },
        component: () => import('@/views/Children/Feature/Children/EmbeddedPage/index.vue'),
      }
    ]
  },
  {
    path: '/home/CustomAssignment',
    name: 'CustomAssignment',
    meta: {
      NeedLogin: true,
      name: '自定义指令',
      icon: 'Coordinate'
    },
    component: () => import('@/views/Children/CustomAssignment/index.vue'),
    children: [
      {
        path: '/home/CustomAssignment/CopyPage',
        name: 'CopyPage',
        meta: {
          NeedLogin: true,
          name: '复制',
        },
        component: () => import('@/views/Children/CustomAssignment/Children/CopyPage/index.vue'),
      },
      {
        path: '/home/CustomAssignment/DragPage',
        name: 'DragPage',
        meta: {
          NeedLogin: true,
          name: '拖拽',
        },
        component: () => import('@/views/Children/CustomAssignment/Children/DragPage/index.vue'),
      },
      {
        path: '/home/CustomAssignment/AntiShakeInstruction',
        name: 'AntiShakeInstruction',
        meta: {
          NeedLogin: true,
          name: '防抖指令',
        },
        component: () => import('@/views/Children/CustomAssignment/Children/AntiShakeInstruction/index.vue'),
      },
      {
        path: '/home/CustomAssignment/ThrottleInstruction',
        name: 'ThrottleInstruction',
        meta: {
          NeedLogin: true,
          name: '节流指令',
        },
        component: () => import('@/views/Children/CustomAssignment/Children/ThrottleInstruction/index.vue'),
      },
    ]
  },
  {
    path: '/home/GraphicEditor',
    name: 'GraphicEditor',
    meta: {
      NeedLogin: true,
      name: '图形编辑器',
      icon: 'BrushFilled'
    },
    component: () => import('@/views/Children/GraphicEditor/index.vue'),
    children: [
      {
        path: '/home/GraphicEditor/FlowChart',
        name: 'FlowChart',
        meta: {
          NeedLogin: true,
          name: '流程图'
        },
        component: () => import("@/views/Children/GraphicEditor/Children/FlowChart/index.vue")
      }
    ]
  },
  {
    path: '/home/VideoEditor',
    name: 'VideoEditor',
    meta: {
      NeedLogin: true,
      name: '视频播放器',
      icon: 'VideoCameraFilled'
    },
    component: () => import('@/views/Children/VideoEditor/index.vue'),
    children: [
      {
        path: '/home/VideoEditor/VideoPlayer',
        name: 'VideoPlayer',
        meta: {
          NeedLogin: true,
          name: '视频播放器',
        },
        component: () => import('@/views/Children/VideoEditor/Children/VideoPlayer/index.vue'),
      }
    ]
  },
  {
    path: '/home/Statistics',
    name: 'Statistics',
    meta: {
      NeedLogin: true,
      name: '数据统计',
      icon: 'Suitcase'
    },
    component: () => import('@/views/Children/Statistics/index.vue'),
    children: [
      {
        path: '/home/Statistics/ItemOne',
        name: 'ItemOne',
        meta: {
          NeedLogin: true,
          name: '项目一',
        },
        component: () => import('@/views/Children/Statistics/Children/ItemOne/index.vue'),
      }
    ]
  },
  {
    path: '/home/IndividualCenter',
    name: 'IndividualCenter',
    meta: {
      NeedLogin: true,
      name: '个人中心',
      icon: 'Avatar'
    },
    component: () => import('@/views/Children/IndividualCenter/index.vue'),
    children: [
      {
        path: '/home/IndividualCenter/AboutMe',
        name: 'AboutMe',
        meta: {
          NeedLogin: true,
          name: '关于我',
        },
        component: () => import('@/views/Children/IndividualCenter/Children/AboutMe/index.vue'),
      }
    ]
  },
]

export const routes = [
  {
    path: '/',
    redirect: "/login"
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/Login/index.vue')
  },
  {
    path: '/home',
    name: "首页",
    meta: {
      NeedLogin: true,
      name: '首页'
    },
    component: () => import('@/views/home/index.vue'),
    children: homeroutes
  }
]